package com.itheima.imp;

import com.itheima.AccountService;
import com.itheima.dao.AccountDao;
import com.itheima.domain.Account;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImp implements AccountService {
    @Autowired
    private AccountDao accountDao;

    public Account findbyid(Integer id) {
        return accountDao.finbyid(id);
    }
}
